<?php defined('IN_IA') or exit('Access Denied');?>        
        <div id="footer_menu" class="footer footer_menu">
            <ul class="clear">
				 <?php  if(($_GPC['do']!='wlmember' && $_GPC['do']!='wlorder'&& $_GPC['do']!='wlmylike' && $_GPC['do']!='wlhome'  && $_GPC['do']!='wlgenius' )) { ?>
                <li><a href="<?php  echo  $this->createMobileUrl('wlmain')?>" class="onactive" ><span class="icons icons_2"></span><label>首页</label></a></li>
				<?php  } else { ?>
				<li><a  href="<?php  echo  $this->createMobileUrl('wlmain')?>" ><span class="icons icons_2"></span><label>首页</label></a></li>
				<?php  } ?>
                <?php  if($_GPC['do']=='wlmember'||$_GPC['do']=='wlorder') { ?>
				<li><a href="<?php  echo  $this->createMobileUrl('wlmember',array('status'=>1))?>" class="onactive" ><span class="icons icons_3"></span><label>订单</label></a></li>
				<?php  } else { ?>
				<li><a href="<?php  echo  $this->createMobileUrl('wlmember',array('status'=>1))?>" ><span class="icons icons_3"></span><label>订单</label></a></li>
				<?php  } ?>
                
                <?php  if($_GPC['do']=='wlmylike') { ?>				
                <li><a href="tel:4008108888" class="onactive" ><span class="icons icons_3"></span><label>联系客服</label></a></li>
                
				<?php  } else { ?>
                <li><a href="tel:4008108888" ><span class="icons icons_3"></span><label>联系客服</label></a></li>
				<?php  } ?>
                                
                <?php  if($_GPC['do']=='wlmylike') { ?>				
                <li><a href="mobile.php?act=channel&name=home&weid=1" class="onactive" ><span class="icons icons_4"></span><label>个人中心</label></a></li>
                
				<?php  } else { ?>
                <li><a href="mobile.php?act=channel&name=home&weid=1" ><span class="icons icons_4"></span><label>个人中心</label></a></li>
				<?php  } ?>			


                <li><a href="javascript:void(0);" id="my_menu"><span class="icons icons_5"><label id="num" class="num"><?php  echo $totalnum;?></label></span></a></li>
            </ul>
        </div>
        <script>
            var footer = document.getElementById("footer_menu");
            var evtObj = {
                handleEvent: function(evt){
                    if("A" == evt.target.tagName){
                        evt.target.classList.toggle("on");
                    }
                }
            }
            footer.addEventListener("touchstart", evtObj, false);
            footer.addEventListener("touchend", evtObj, false);
			
			$("a").click(function(){
			//	MLoading.show('加载中');
			});


        </script>
 